package cn.exrick.service;

import cn.exrick.pojo.TbResourceCat;

import java.util.List;

/**
 * @Description:
 */
public interface ResourceCatService {

    int save(TbResourceCat tbResourceCat);

    int update(TbResourceCat tbResourceCat);

    int delete(long id);

    List<TbResourceCat> getAll();

    TbResourceCat getByName(String name);

    boolean checkNameForEdit(long id, String name);

}
